<?php
/**
 * Created by PhpStorm.
 * User: yy
 * Date: 2016/11/16
 * Time: 19:08
 */

namespace App\Plugins\Shh\Route;

use App\Plugins\Abstracts\AppPluginRoutes;
use Illuminate\Support\Facades\Route;

class App extends AppPluginRoutes
{
    public function __construct()
    {
        $this->namespace = 'App\Plugins\Shh';
    }

    public function routes() {
        Route::get('/shh/customers/{shhKey}', 'ShhController@index');
        Route::get('/shh/customer/{cid}', 'ShhController@show');
        Route::put('/shh/customers/{cid}', 'ShhController@update');
    }
}